From 50065b7ba07fe08f5c71e42101fedf5b6e810982 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 22 Feb 2013 19:53:03 -0500 Subject: [PATCH] treeview: center expander allocated space This patch centers the expander in the extra space allocated by the horizontal-separator style property. https://bugzilla.gnome.org/show_bug.cgi?id=650424 --- gtk/gtktreeview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index abde2677cd..505f41b588 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -9274,6 +9274,7 @@ gtk_tree_view_get_arrow_xrange (GtkTreeView *tree_view, total_width += gtk_tree_view_column_get_width (tmp_column); } + x_offset += (expander_size - expander_render_size); if (indent_expanders) { -- 2.30.2